export default {
  changeCity(state,city){
    //修改数据
    state.city = city;
    //当数据改变时，重新设置localstorage的值
    try{
      localStorage.city = city;
    }catch(err){}
  }
}
